<?php
/* @var $this ContentsController */
/* @var $model Contents */

$this->breadcrumbs=array(
	'Contents'=>array('index'),
	$model->title,
);

$this->menu=array(
	array('label'=>'List Contents', 'url'=>array('index')),
	array('label'=>'Create Contents', 'url'=>array('create')),
	array('label'=>'Update Contents', 'url'=>array('update', 'id'=>$model->cid)),
	array('label'=>'Delete Contents', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->cid),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Contents', 'url'=>array('admin')),
);
?>

<h1>View Contents #<?php echo $model->cid; ?></h1>

<?php
$this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'cid',
		'title',
		'slug',
		'created',
		'modified',
		'text',
		'order',
		'authorId',
		'template',
		'type',
		'status',
		'password',
		'commentsNum',
		'allowComment',
		'allowPing',
		'allowFeed',
		'parent',
		array(
			'label'=>'categorys',
			'value'=>$model->categorysStr,
		),
		array(
			'label'=>'tags',
			'value'=>$model->tagsStr,
		),
	),
)); 

?>
